\section{Mind\-Space::MLink Class Reference}
\label{classMindSpace_1_1MLink}\index{MindSpace::MLink@{MindSpace::MLink}}
A link between nodes A link between two \doxyref{Mind\-Space::MNode}{p.}{classMindSpace_1_1MNode} node objects.  


{\tt \#include $<$Mind\-Space.h$>$}

\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void \bf{set\-Type} (\bf{Mind\-Space::MLink\-Type} type)
\item 
void \bf{set\-Node1} (\bf{Mind\-Space::MNode} $\ast$node1)
\item 
void \bf{set\-Node2} (\bf{Mind\-Space::MNode} $\ast$node2)
\item 
void \bf{set\-Truth\-Value} (\bf{Mind\-Space::MTruth\-Value} value)
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\bf{MLink} ()
\item 
\bf{MLink} (\bf{MNode} $\ast$node1, \bf{MNode} $\ast$node2, \bf{MLink\-Type} link\-Type=MLink\-Type::Part\-Of\-Link(), \bf{MTruth\-Value} truth=\bf{MTruth\-Value}())
\item 
bool \bf{is\-Null} ()
\item 
QString \bf{uuid} ()
\item 
const \bf{Mind\-Space::MLink\-Type} \& \bf{type} ()
\item 
\bf{Mind\-Space::MNode} $\ast$ \bf{node1} ()
\item 
\bf{Mind\-Space::MNode} $\ast$ \bf{node2} ()
\item 
const \bf{Mind\-Space::MTruth\-Value} \& \bf{truth\-Value} ()
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
void \bf{create\-Uuid} ()
\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
QString \bf{m\_\-uuid}
\item 
\bf{Mind\-Space::MNode} $\ast$ \bf{m\_\-node1}
\item 
\bf{Mind\-Space::MNode} $\ast$ \bf{m\_\-node2}
\item 
\bf{Mind\-Space::MLink\-Type} \bf{m\_\-link\-Type}
\item 
\bf{Mind\-Space::MTruth\-Value} \bf{m\_\-truth\-Value}
\end{CompactItemize}
\subsection*{Properties}
\begin{CompactItemize}
\item 
QString \bf{uuid}\hspace{0.3cm}{\tt  []}
\item 
\bf{Mind\-Space::MLink\-Type} \bf{type}\hspace{0.3cm}{\tt  []}
\item 
\bf{Mind\-Space::MNode} \bf{node1}\hspace{0.3cm}{\tt  []}
\item 
\bf{Mind\-Space::MNode} \bf{node2}\hspace{0.3cm}{\tt  []}
\item 
\bf{Mind\-Space::MTruth\-Value} \bf{truth\-Value}\hspace{0.3cm}{\tt  []}
\end{CompactItemize}


\subsection{Detailed Description}
A link between nodes A link between two \doxyref{Mind\-Space::MNode}{p.}{classMindSpace_1_1MNode} node objects. 



\subsection{Constructor \& Destructor Documentation}
\index{MindSpace::MLink@{Mind\-Space::MLink}!MLink@{MLink}}
\index{MLink@{MLink}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Mind\-Space::MLink::MLink ()}\label{classMindSpace_1_1MLink_a252283240736013119e06c93e763713}


Creates an empty (null) \doxyref{MLink}{p.}{classMindSpace_1_1MLink} with the predefined link type 'Part\-Of\-Link'.\begin{Desc}
\item[See also:]\doxyref{is\-Null}{p.}{classMindSpace_1_1MLink_5abc49f42f5d82cb7aa12772b34f135d} \end{Desc}
\index{MindSpace::MLink@{Mind\-Space::MLink}!MLink@{MLink}}
\index{MLink@{MLink}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Mind\-Space::MLink::MLink (\bf{MNode} $\ast$ {\em node1}, \bf{MNode} $\ast$ {\em node2}, \bf{MLink\-Type} {\em link\-Type} = {\tt MLinkType::PartOfLink()}, \bf{MTruth\-Value} {\em truth} = {\tt \bf{MTruth\-Value}()})}\label{classMindSpace_1_1MLink_f38c823fd3db6d32e5fa609fc003a9c1}


Creates a new \doxyref{MLink}{p.}{classMindSpace_1_1MLink} from {\em node1\/} to {\em node2\/} with the givne {\em link\-Type\/} and {\em truth\/} value 

\subsection{Member Function Documentation}
\index{MindSpace::MLink@{Mind\-Space::MLink}!createUuid@{createUuid}}
\index{createUuid@{createUuid}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Mind\-Space::MLink::create\-Uuid ()\hspace{0.3cm}{\tt  [protected]}}\label{classMindSpace_1_1MLink_ce0009674a8a5355e073bec0e36b7591}


Creates a new UUID for this link \index{MindSpace::MLink@{Mind\-Space::MLink}!isNull@{isNull}}
\index{isNull@{isNull}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Mind\-Space::MLink::is\-Null ()}\label{classMindSpace_1_1MLink_5abc49f42f5d82cb7aa12772b34f135d}


\begin{Desc}
\item[Returns:]true if BOTH \doxyref{node1()}{p.}{classMindSpace_1_1MLink_11006fa19a33e61b029bda02131de10f} and \doxyref{node2()}{p.}{classMindSpace_1_1MLink_743dfd65ecc694a138f5aa915b830392} are NULL.\end{Desc}
\begin{Desc}
\item[See also:]\doxyref{node1}{p.}{classMindSpace_1_1MLink_4c2362f8a1c650cceea016c58fc10107}, \doxyref{node2}{p.}{classMindSpace_1_1MLink_0590102cf59a9b081f009d96de0c04fa} \end{Desc}
\index{MindSpace::MLink@{Mind\-Space::MLink}!node1@{node1}}
\index{node1@{node1}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\bf{Mind\-Space::MNode}$\ast$ Mind\-Space::MLink::node1 ()\hspace{0.3cm}{\tt  [inline]}}\label{classMindSpace_1_1MLink_11006fa19a33e61b029bda02131de10f}


\begin{Desc}
\item[Returns:]the first \doxyref{MNode}{p.}{classMindSpace_1_1MNode} in the link.\end{Desc}
\begin{Desc}
\item[See also:]\doxyref{node1}{p.}{classMindSpace_1_1MLink_4c2362f8a1c650cceea016c58fc10107} \end{Desc}
\index{MindSpace::MLink@{Mind\-Space::MLink}!node2@{node2}}
\index{node2@{node2}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\bf{Mind\-Space::MNode}$\ast$ Mind\-Space::MLink::node2 ()\hspace{0.3cm}{\tt  [inline]}}\label{classMindSpace_1_1MLink_743dfd65ecc694a138f5aa915b830392}


\begin{Desc}
\item[Returns:]the second \doxyref{MNode}{p.}{classMindSpace_1_1MNode} in the link.\end{Desc}
\begin{Desc}
\item[See also:]\doxyref{node2}{p.}{classMindSpace_1_1MLink_0590102cf59a9b081f009d96de0c04fa} \end{Desc}
\index{MindSpace::MLink@{Mind\-Space::MLink}!setNode1@{setNode1}}
\index{setNode1@{setNode1}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Mind\-Space::MLink::set\-Node1 (\bf{Mind\-Space::MNode} $\ast$ {\em node1})\hspace{0.3cm}{\tt  [slot]}}\label{classMindSpace_1_1MLink_34f44bfa501b4eec6e0b3f8b569759ce}


Set the first \doxyref{MNode}{p.}{classMindSpace_1_1MNode} of this link to {\em node1\/}.\begin{Desc}
\item[See also:]\doxyref{node1}{p.}{classMindSpace_1_1MLink_4c2362f8a1c650cceea016c58fc10107} \end{Desc}
\index{MindSpace::MLink@{Mind\-Space::MLink}!setNode2@{setNode2}}
\index{setNode2@{setNode2}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Mind\-Space::MLink::set\-Node2 (\bf{Mind\-Space::MNode} $\ast$ {\em node2})\hspace{0.3cm}{\tt  [slot]}}\label{classMindSpace_1_1MLink_291fcbbd9b2846bb48f3ccd73c82ed5e}


Set the second \doxyref{MNode}{p.}{classMindSpace_1_1MNode} of this link to {\em node2\/}.\begin{Desc}
\item[See also:]\doxyref{node2}{p.}{classMindSpace_1_1MLink_0590102cf59a9b081f009d96de0c04fa} \end{Desc}
\index{MindSpace::MLink@{Mind\-Space::MLink}!setTruthValue@{setTruthValue}}
\index{setTruthValue@{setTruthValue}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Mind\-Space::MLink::set\-Truth\-Value (\bf{Mind\-Space::MTruth\-Value} {\em value})\hspace{0.3cm}{\tt  [slot]}}\label{classMindSpace_1_1MLink_c96b1bbb51f1c983867885b3437794af}


Set the \doxyref{MTruth\-Value}{p.}{classMindSpace_1_1MTruthValue} of this link to {\em value\/}.\begin{Desc}
\item[See also:]\doxyref{truth\-Value}{p.}{classMindSpace_1_1MLink_c153aa608da9d7eee6aabd01995c80b9} \end{Desc}
\index{MindSpace::MLink@{Mind\-Space::MLink}!setType@{setType}}
\index{setType@{setType}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Mind\-Space::MLink::set\-Type (\bf{Mind\-Space::MLink\-Type} {\em type})\hspace{0.3cm}{\tt  [slot]}}\label{classMindSpace_1_1MLink_a9b3656cd8471ba7f17915ed5cd7298b}


Set the \doxyref{MLink\-Type}{p.}{classMindSpace_1_1MLinkType} of this link to {\em type\/}.\begin{Desc}
\item[See also:]\doxyref{type}{p.}{classMindSpace_1_1MLink_6402dc936ff90db3425c1c5bdfde8923} \end{Desc}
\index{MindSpace::MLink@{Mind\-Space::MLink}!truthValue@{truthValue}}
\index{truthValue@{truthValue}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const \bf{Mind\-Space::MTruth\-Value}\& Mind\-Space::MLink::truth\-Value ()\hspace{0.3cm}{\tt  [inline]}}\label{classMindSpace_1_1MLink_8a7f227aef47ac5d435c523fba778fa7}


\begin{Desc}
\item[Returns:]the \doxyref{MTruth\-Value}{p.}{classMindSpace_1_1MTruthValue} of the link.\end{Desc}
\begin{Desc}
\item[See also:]\doxyref{truth\-Value}{p.}{classMindSpace_1_1MLink_c153aa608da9d7eee6aabd01995c80b9} \end{Desc}
\index{MindSpace::MLink@{Mind\-Space::MLink}!type@{type}}
\index{type@{type}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const \bf{Mind\-Space::MLink\-Type}\& Mind\-Space::MLink::type ()\hspace{0.3cm}{\tt  [inline]}}\label{classMindSpace_1_1MLink_0c3a62a5a4b7ae695c724b6673824b67}


\begin{Desc}
\item[Returns:]the \doxyref{MLink\-Type}{p.}{classMindSpace_1_1MLinkType} of the link.\end{Desc}
\begin{Desc}
\item[See also:]\doxyref{type}{p.}{classMindSpace_1_1MLink_6402dc936ff90db3425c1c5bdfde8923} \end{Desc}
\index{MindSpace::MLink@{Mind\-Space::MLink}!uuid@{uuid}}
\index{uuid@{uuid}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}QString Mind\-Space::MLink::uuid ()\hspace{0.3cm}{\tt  [inline]}}\label{classMindSpace_1_1MLink_472220e17b6ccfb00dd2a631393ebb0b}


\begin{Desc}
\item[Returns:]the UUID of the link.\end{Desc}
\begin{Desc}
\item[See also:]\doxyref{uuid}{p.}{classMindSpace_1_1MLink_11288b69810b984b87653ac0ffc60447} \end{Desc}


\subsection{Member Data Documentation}
\index{MindSpace::MLink@{Mind\-Space::MLink}!m_linkType@{m\_\-linkType}}
\index{m_linkType@{m\_\-linkType}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\bf{Mind\-Space::MLink\-Type} \bf{Mind\-Space::MLink::m\_\-link\-Type}\hspace{0.3cm}{\tt  [protected]}}\label{classMindSpace_1_1MLink_e7b35689407d70d5ac731deddd5850c3}


Type of link this link represents (such as an IS-A link, IMPLIES link, etc \index{MindSpace::MLink@{Mind\-Space::MLink}!m_node1@{m\_\-node1}}
\index{m_node1@{m\_\-node1}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\bf{Mind\-Space::MNode}$\ast$ \bf{Mind\-Space::MLink::m\_\-node1}\hspace{0.3cm}{\tt  [protected]}}\label{classMindSpace_1_1MLink_9a8335ddc3d75f3efc3216a7002b6121}


First part of the link \index{MindSpace::MLink@{Mind\-Space::MLink}!m_node2@{m\_\-node2}}
\index{m_node2@{m\_\-node2}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\bf{Mind\-Space::MNode}$\ast$ \bf{Mind\-Space::MLink::m\_\-node2}\hspace{0.3cm}{\tt  [protected]}}\label{classMindSpace_1_1MLink_9dc6f51b8f6a65d5d65ca948ec299506}


Second part of the link \index{MindSpace::MLink@{Mind\-Space::MLink}!m_truthValue@{m\_\-truthValue}}
\index{m_truthValue@{m\_\-truthValue}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\bf{Mind\-Space::MTruth\-Value} \bf{Mind\-Space::MLink::m\_\-truth\-Value}\hspace{0.3cm}{\tt  [protected]}}\label{classMindSpace_1_1MLink_6cc43ead41ac3b475f32508e6be7356e}


An assertion that this link is true \index{MindSpace::MLink@{Mind\-Space::MLink}!m_uuid@{m\_\-uuid}}
\index{m_uuid@{m\_\-uuid}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}QString \bf{Mind\-Space::MLink::m\_\-uuid}\hspace{0.3cm}{\tt  [protected]}}\label{classMindSpace_1_1MLink_d082c4a34c21a08b019e230724353938}


The UUID of this link 

\subsection{Property Documentation}
\index{MindSpace::MLink@{Mind\-Space::MLink}!node1@{node1}}
\index{node1@{node1}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\bf{Mind\-Space::MNode} Mind\-Space::MLink::node1\hspace{0.3cm}{\tt  [read, write]}}\label{classMindSpace_1_1MLink_4c2362f8a1c650cceea016c58fc10107}


The first \doxyref{MNode}{p.}{classMindSpace_1_1MNode} in the link \index{MindSpace::MLink@{Mind\-Space::MLink}!node2@{node2}}
\index{node2@{node2}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\bf{Mind\-Space::MNode} Mind\-Space::MLink::node2\hspace{0.3cm}{\tt  [read, write]}}\label{classMindSpace_1_1MLink_0590102cf59a9b081f009d96de0c04fa}


The second \doxyref{MNode}{p.}{classMindSpace_1_1MNode} in the link \index{MindSpace::MLink@{Mind\-Space::MLink}!truthValue@{truthValue}}
\index{truthValue@{truthValue}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\bf{Mind\-Space::MTruth\-Value} Mind\-Space::MLink::truth\-Value\hspace{0.3cm}{\tt  [read, write]}}\label{classMindSpace_1_1MLink_c153aa608da9d7eee6aabd01995c80b9}


The \doxyref{MTruth\-Value}{p.}{classMindSpace_1_1MTruthValue} representing the truthfulness assertion of this link \index{MindSpace::MLink@{Mind\-Space::MLink}!type@{type}}
\index{type@{type}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\bf{Mind\-Space::MLink\-Type} Mind\-Space::MLink::type\hspace{0.3cm}{\tt  [read, write]}}\label{classMindSpace_1_1MLink_6402dc936ff90db3425c1c5bdfde8923}


The \doxyref{MLink\-Type}{p.}{classMindSpace_1_1MLinkType} of this link \index{MindSpace::MLink@{Mind\-Space::MLink}!uuid@{uuid}}
\index{uuid@{uuid}!MindSpace::MLink@{Mind\-Space::MLink}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}QString Mind\-Space::MLink::uuid\hspace{0.3cm}{\tt  [read]}}\label{classMindSpace_1_1MLink_11288b69810b984b87653ac0ffc60447}


The UUID of this link 

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
\bf{Mind\-Space.h}\item 
Mind\-Space.cpp\end{CompactItemize}
